﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
namespace BLL
{
    public class CardMaster
    {
        public CardMaster()
        { }

        public bool CardMasterAdd(MODEL.CardMaster model)
        {
            return new DAL.CardMaster().CardMasterAdd(model);
        }
        public bool CardMasterUpdate()
        {
            return new DAL.CardMaster().CardMasterUpdate();
        }
        public bool CardMasterUpdate(string cId)
        {
            return new DAL.CardMaster().CardMasterUpdate(cId);
        }
        public DataSet CardMasterList(string cId)
        {
            return new DAL.CardMaster().CardMasterList(cId);
        }
        public DataSet CardMasterList(string cId, int nUm)
        {
            return new DAL.CardMaster().CardMasterList(cId, nUm);
        }
    }
    public class CardDeputy
    {
        public CardDeputy()
        { }

        public bool CardDeputyAdd(MODEL.CardDeputy model)
        {
            return new DAL.CardDeputy().CardDeputyAdd(model);
        }
        public bool CardDeputyUpdate(MODEL.CardDeputy model)
        {
            return new DAL.CardDeputy().CardDeputyUpdate(model);
        }
        public bool CardDeputyUpdate(MODEL.CardDeputy model, string flagName)
        {
            return new DAL.CardDeputy().CardDeputyUpdate(model, flagName);
        }
        public DataSet CardDeputyList()
        {
            return new DAL.CardDeputy().CardDeputyList();
        }
        public DataSet CardDeputyList(string id, string flagName)
        {
            return new DAL.CardDeputy().CardDeputyList(id, flagName);
        }
        public DataSet CardDeputyList(int cardType)
        {
            return new DAL.CardDeputy().CardDeputyList(cardType);
        }
    }
}
